package com.xinqi.modules.sys.complaint.convert;

import com.xinqi.common.mapstruct.CommonConvertConfig;
import com.xinqi.modules.sys.complaint.domain.ComplaintEntity;
import com.xinqi.modules.sys.complaint.dto.req.ComplaintCreateDTO;
import com.xinqi.modules.sys.complaint.dto.rsp.ComplaintResultDTO;
import org.mapstruct.Mapper;

/**
 * 聊天投诉表转换
 *
 * @author: yyzhenn
 * @date: 2023/04/23
 */
@Mapper(config = CommonConvertConfig.class)
public abstract class ComplaintConvert {
    public abstract ComplaintEntity create(ComplaintCreateDTO s);

    public abstract ComplaintResultDTO convert(ComplaintEntity s);
}
